<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>文本处理</title>
</head>
<body>
    <h1>文本表达式</h1>
    <h2 th:text="连接字符串可以用+'+'+或者+'|'"></h2>
    <p th:text="学习模板"></p>
    <p th:text="'hello thymeleaf'"></p>
    <p th:text="'宝马'+'良驹'"></p>
    <p th:text="'学习'+${info}"></p>
    <p th:text="|您学习  ${info}|"></p>
    <p th:text="您好+|${n1}, ${n2}|"></p>
    <p th:text="true"></p>
    <p th:text="123456"></p>
</body>
</html>